<div class="topLogin">
    <div class="header_right">
        <div class="support">
            <div class="yahooSupport"></div>
            <ul class="listYahoo">
                <!--<li><a href="ymsgr:sendIM?YahooID&amp;m=Hello"><img width="80px" src="http://opi.yahoo.com/online?u=YahooID&amp;t=2"><span>Hỗ trợ khách hàng</span></a></li>
                <li><a href="ymsgr:sendIM?YahooID&amp;m=Hello"><img width="80px" src="http://opi.yahoo.com/online?u=YahooID&amp;t=2"><span>Hỗ trợ khách hàng</span></a></li>
                -->
            </ul>
        </div>
    

        <ul class="nav">
            <li><a title="Săn hàng rẻ - Bmt-shop" alt="Săn hàng rẻ - Bmt-shop" class="active" href="http://www.bmtmua.com">Trang Chủ</a></li>
            <li><a title="Giới thiệu" alt="Giới thiệu" class="" href="http://www.bmtmua.com/gioi-thieu.html">Giới Thiệu</a></li>
            <li><a title="Dịch vụ" alt="Dịch vụ" class="" href="http://www.bmtmua.com/dich-vu.html">Dịch vụ</a></li>
            <li>
                <a title="Dịch vụ" alt="Dịch vụ" href="#">Sản phẩm</a>
                <ul class="subNav">
                    <li><a title="Tin tức Game" alt="Tin tức Game" href="http://www.bmtmua.com/tin-tuc-game.html" class="">Danh mục sản phẩm</a></li>
                    <li><a title="Tekken Việt" alt="Tekken Việt" href="http://www.bmtmua.com/tin-tuc-xa-hoi.html" class=""></a></li>
                    <li><a title="Tin tức Pump" alt="Tin tức Pump" href="http://www.bmtmua.com/tin-tuc-pump.html" class=""></a></li>
                </ul>
            </li>
            <li><a title="Diễn đàn" alt="Diễn đàn" href="http://forum.bmtmua.com">Diễn đàn</a></li>
            <li><a title="Liên hệ" alt="Liên hệ" href="http://www.bmtmua.com/lien-he.html">Liên Hệ</a></li>
        </ul>
    </div>
</div>
    
            
<div>
    <ul id="topnav">             
    <link href="{$this->ipsclass->vars['style_url']}/css/style_general.css" rel="stylesheet" type="text/css" />
    <link href="{$this->ipsclass->vars['style_url']}/css/style_home.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" language="javascript" src="{$this->ipsclass->vars['style_url']}/jscripts/lib/scroller.js"></script>
    <script type="text/javascript" src="{$this->ipsclass->vars['style_url']}/jscripts/lib/global_constant.js"></script> 
    <script type="text/javascript" src="{$this->ipsclass->vars['style_url']}/jscripts/lib/global_message.js"></script>
    <script type="text/javascript" language="javascript" src="{$this->ipsclass->vars['style_url']}/jscripts/lib/vtip-min.js"></script>
    <script type="text/javascript" language="javascript" src="{$this->ipsclass->vars['style_url']}/jscripts/lib/jquery.fancybox-1.3.4.pack.js"></script>
    <script type="text/javascript" src="{$this->ipsclass->vars['style_url']}/jscripts/lib/jquery-validate-register.js"></script>
    <script type="text/javascript" src="{$this->ipsclass->vars['style_url']}/jscripts/lib/register_messages.js"></script>
    <script type="text/javascript" src="{$this->ipsclass->vars['style_url']}/jscripts/lib/bvalidator/jquery.bvalidator.js"></script>
    <link href="{$this->ipsclass->vars['style_url']}/jscripts/lib/bvalidator/bvalidator.css" rel="stylesheet" type="text/css" /> 
    <link href="{$this->ipsclass->vars['style_url']}/css/jquery.fancybox-1.3.4.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="{$this->ipsclass->vars['style_url']}/jscripts/lib/topNav_login.js"></script>
 <script type="text/javascript" src="{$this->ipsclass->vars['style_url']}/jscripts/lib/news.js"></script>
    </ul>

<ul class="topLogin">
    <if="$this->ipsclass->member['id']==''">
        <li>
            <a href="javascript:void(0)" class="info" alt="{$this->ipsclass->lang['seoRegisterTitle']}" title="{$this->ipsclass->lang['seoRegisterTitle']}">{$this->ipsclass->lang['register_title']}</a>
            <div class="sub_node">
                <div class="top_formContainer" >
                    <form action="{$this->ipsclass->vars['default_url']}/{$this->ipsclass->lang['seoRegisterPage']}{$this->ipsclass->lang['seoPageSuffix']}" method="post" name="REG" id="REG" onsubmit="return false;" >
                        <input type="hidden" name="referer" value="<if="$_SESSION['referer']">{$_SESSION['referer']}<else />{$_SERVER['HTTP_REFERER']}</if>" />
                        <input type="hidden" name="usingf" id="usingf" value="f" />
                        <div class="top_form">
                          <label>Tên đăng nhập:</label>
                          <span><input type="text" id="UserName" name="UserName" class="textInput bvalidator_invalid" data-bvalidator="minlength[3],maxlength[32],simpleUserName,required"/><b>*</b></span>
                          <p class="top_form_space" id="er_UserName"></p>
                          <label>Tên hiển thị:</label>
                          <span><input type="text" id="members_display_name" name="members_display_name"  class="textInput bvalidator_invalid" data-bvalidator="minlength[3],maxlength[32],simpleRealName,required"/></span>
                          <p class="top_form_space" id="er_members_display_name"></p>
                          <label>Tên thật: </label>
                          <span><input type="text" id="field_15" name="field_15"  class="textInput bvalidator_invalid" data-bvalidator="maxlength[32],simpleRealName"/></span>
                          <p class="top_form_space"></p>
                          <label>Email đăng nhập:</label>
                          <span><input type="text" id="EmailAddress" name="EmailAddress" class="textInput bvalidator_invalid" data-bvalidator="email,required"/><b>*</b></span>
                          <p class="top_form_space" id="er_EmailAddress"></p>
                          <label>Mật khẩu:</label>
                          <span><input type="Password" id="Password" name="PassWord"  class="textInput bvalidator_invalid" data-bvalidator="minlength[6],maxlength[32],simplePassword,required"/><b>*</b></span>
                          <p class="top_form_space" id="er_Password"></p>
                          <label>Xác nhận mật khẩu:</label>
                          <span><input type="password" id="Password_Check" name="PassWord_Check" class="textInput bvalidator_invalid" data-bvalidator="minlength[3],maxlength[32],equalto[Password],required"/><b>*</b></span>
                          <p class="top_form_space" id="er_Password_Check"></p>
                        </div>
                        <!--{REG.ANTISPAM}-->
                        <p id="er_Capcha_Check" class="top_form_space"></p>
                        <span class="note">Ghi chú: (<span>*</span>) Thông tin không thể bỏ trống</span>
                        <p><input type="checkbox" id="ok" name="ok" class="bvalidator_invalid" data-bvalidator="required"/>&nbsp;&nbsp;Chấp nhận những <a href="#">điều khoản</a> của WORLD GAMES</p>
                        <p class="privacy_warning" id="er_privacy"></p>
                        <div class="top_formBut">
                            <input type="submit" value="Đăng ký" name="btnLogin" id="btnLogin" class="button" />
                        </div>
                    </form>
                </div>
            </div>
        </li>
    </if>
    <li>
        <a href="javascript:void(0)" class="info" alt="{$this->ipsclass->lang['seoLoginTitle']}" title="{$this->ipsclass->lang['seoLoginTitle']}"> 
            <if="$this->ipsclass->member['id']!=''"> 
                <b>{$this->ipsclass->member['members_display_name']}</b>
            <else />
                {$this->ipsclass->lang['login_title']}
            </if>
        </a>
        <div class="sub_node">
            <if="$this->ipsclass->member['id']!=''">
                <div class="top_formContainer">
                    <div class="user_img">
                        <if="$this->ipsclass->member['avatar_location'] != ''">
                            <img src="{$this->ipsclass->vars['uploads_url_avatar']}{$this->ipsclass->member['avatar_location']}"/>
                        <else />                 
                              <img src='http://style.worldgames.vn/images/profile/folder_profile_portal/no-avatar1.jpg' />
                        </if>
                    </div>
                    <div class="user_info">
                        <p><a href="{$this->ipsclass->vars['forum_url']}/{$this->ipsclass->lang['seoInfoPage']}{$this->ipsclass->lang['seoPageSuffix']}">{$this->ipsclass->member['cusFullName']}</a></p>
                        <p><b>Tuổi:</b> {$this->ipsclass->yearold}</p>
                        <p><b>Fcoin:</b> {$this->ipsclass->member['field_7']}$</p>
                        <p><b>Level:</b> {$this->ipsclass->member['field_4']}</p>
                        <p><b>EXP:</b> {$this->ipsclass->member['field_3']}</p>
                        <p><b>Lần truy cập cuối:</b> {$this->ipsclass->member['last_visit']}</p>
                        <div class="top_formBut"><a  class="but" href="{$this->ipsclass->vars['default_url']}/{$this->ipsclass->lang['seoLogoutPage']}{$this->ipsclass->lang['seoPageSuffix']}" >{$this->ipsclass->lang['log_out']}</a></div>
                    </div>
                    <div class="clear"></div>
                </div> 
            <else />
                <div class="top_formContainer">
                    <form action="{$this->ipsclass->vars['default_url']}/{$this->ipsclass->lang['seoLoginPage']}{$this->ipsclass->lang['seoPageSuffix']}" id="LOGIN" method="post" name="LOGIN" onsubmit="return login();" >
                        <input type="hidden" name="referer" value="http://{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}" />
                        <div class="top_form">
                            <label>{$this->ipsclass->lang['enter_name']}</label>
                            <span><input name="Name" id="Name" type="text" class="textInput bvalidator_invalid" data-bvalidator="minlength[3],maxlength[32],simpleUserName,required"/></span>
                            <p class="top_form_space"></p>
                            <label>{$this->ipsclass->lang['enter_pass']}</label>
                            <span><input name="Pass" id="Pass" type="password" class="textInput bvalidator_invalid" data-bvalidator="minlength[6],maxlength[32],simplePassword,required"/></span> 
                            <p class="top_form_space" id="er_login"></p>
                        </div>
                        <div class="fogetPass">
                            <a href="{$this->ipsclass->vars['forum_url']}/{$this->ipsclass->lang['seoFogotPassPage']}{$this->ipsclass->lang['seoPageSuffix']}" alt="{$this->ipsclass->lang['seoPumperForgotTitle']}" title="{$this->ipsclass->lang['seoPumperForgotTitle']}">{$this->ipsclass->lang['pass_link']}</a>
                        </div>
                        <p><input name="CookieDate" type="checkbox" value="1" checked="checked" />&nbsp;<span>{$this->ipsclass->lang['rememberme']}</span></p>
                        <div class="top_formBut" div_login>
                            <input type="submit" value="Đăng nhập" name="btnLogin" id="btnLogin" class="button" />
                        </div>
                    </form>
                </div>
            </if>
        </div>
    </li>
</ul>  

</div>